package com.disk.service;


import com.disk.domain.User;
import com.disk.handleResult.Result;

public interface UserService {
    User getByName(String username);
    Integer getRoleByUserId(Integer id);

    Result register(User user);
}
